<#macro radio 
	name=""
	val=""  	value="" 
	cval=""		<!-- 选中项的值 -->
>
<#local options = "" >
	<#if val != "" || value != "">
		<#local options = options + ",value:'${val!}${value!}'" >
	</#if>
	<#if required || r>
		<#local options = options + ",required:true" >
	</#if>
	<#if prompt != "" || p!="">
		<#local options = options + ",prompt:'${prompt}${p}'" >
	</#if>
	<#if type=="password">
		<#local options = ",type:'password'" >
	</#if>
	<#if multiline || m>
		<#local options = options + ",multiline:true" >
	</#if>
	<#if !editable>
		<#local options = options + ",editable:false" >
	</#if>
	<#if disabled>
		<#local options = options + ",disabled:true" >
	</#if>
	<#if readonly>
		<#local options = options + ",readonly:true" >
	</#if>
<input <#if id != ""> id="${id}"</#if><#if name != ""> name="${name}"</#if> class="easyui-textbox" data-options="<#if options != "">${options?substring(1)}</#if>"<#if style != ""> style="${style}"</#if>> 
</#macro>